<?php

if ($this->_controller->_inhoud['titelverborgen'] == 0) {
    \Weergave::SETWEERGAVE('inhoud','<h1>'.$this->_controller->_inhoud['titel'].'</h1>');
}

$html = '';
foreach ($this->_data['inhoud'] as $content) {
    $html .= <<< EOD
    <div class="{$content[0]}">
        {$content[1]}
    </div>
EOD;
}

\Weergave::SETTEMPLATE('frontend');
\Weergave::SETWEERGAVE('inhoud',$html);